package com.test.ssm.service;

import com.github.pagehelper.PageInfo;
import com.test.ssm.pojo.Role;
import com.test.ssm.pojo.RoleCriteria;

public interface RoleService {
    PageInfo<Role> getRoleList(RoleCriteria criteria, int pageNum, int pageSize);

    Role getRoleById(Integer id);

    void update(Role role);

}
